<?php ?>
<div id='contentmain'>
<div id="mainmenu">
		<?php $this->widget('zii.widgets.CMenu',array(
			'items'=>array(
				array('label'=>'首页','url'=>array('Yiichenkuo/index'),'id'=>'index'),
				array('label'=>'登陆','url'=>array('Yiichenkuo/login'),'id'=>'login','visible'=>Yii::app()->user->isGuest),
				array('label'=>'注册','url'=>array('Yiichenkuo/reg'),'id'=>'reg','visible'=>Yii::app()->user->isGuest),
				array('label'=>'购物车', 'url'=>array('/Yiichenkuo/shopcar'),'id'=>'shopcar', 'visible'=>!Yii::app()->user->isGuest),
				array('label'=>'欢迎回来'.Yii::app()->user->getName(),'visible'=>!yii::app()->user->isGuest),
				array('label'=>'注销 ', 'url'=>array('/Yiichenkuo/logout'), 'visible'=>!Yii::app()->user->isGuest),
				array('label'=>'testextract','url'=>array('/Yiichenkuo/testextract'))
					),
		)); ?>
		<?php echo "Yiichenkuomain";?>
	</div><!-- mainmenu Yiichenkuomain-->
	<?php echo $content; ?>
</div>
<div>
</div>